
package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.NoticeSet;

public interface NoticeSetDao extends Dao {

    /**
     * Retrieves all of the noticeSets
     */
    public List getNoticeSets(NoticeSet noticeSet);

    /**
     * Gets noticeSet's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the noticeSet's id
     * @return noticeSet populated noticeSet object
     */
    public NoticeSet getNoticeSet(final Integer id);

    /**
     * Saves a noticeSet's information
     * @param noticeSet the object to be saved
     */    
    public void saveNoticeSet(NoticeSet noticeSet);

    /**
     * Removes a noticeSet from the database by id
     * @param id the noticeSet's id
     */
    public void removeNoticeSet(final Integer id);
}

